/*
 * This file should not be edited.
 */
package database;
import java.util.List;

public interface Operations {

	RecordID insertRecord(Record r);
	
	Record readRecord(RecordID rid) throws RecordIDNotFound;
	
	void updateRecord(RecordID rid, String fieldName, Object fieldValue) throws RecordIDNotFound, NotEnoughSpaceInPage;
	
	void deleteRecord(RecordID rid) throws RecordIDNotFound;
	
	List<RecordID> searchRecord(String fieldName, Object fieldValue);
}